package com.lvmama.core.dao;

import com.lvmama.core.bean.UserTravel;
import com.lvmama.core.bean.UserTravelDTO;
import com.lvmama.core.bean.UserTravelQuery;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface UserTravelDao {
    int countByExample(UserTravelQuery example);

    int deleteByExample(UserTravelQuery example);

    int deleteByPrimaryKey(Integer userTravelId);

    int insert(UserTravel record);

    int insertSelective(UserTravel record);

    List<UserTravel> selectByExampleWithBLOBs(UserTravelQuery example);

    List<UserTravel> selectByExample(UserTravelQuery example);

    UserTravel selectByPrimaryKey(Integer userTravelId);

    int updateByExampleSelective(@Param("record") UserTravel record, @Param("example") UserTravelQuery example);

    int updateByExampleWithBLOBs(@Param("record") UserTravel record, @Param("example") UserTravelQuery example);

    int updateByExample(@Param("record") UserTravel record, @Param("example") UserTravelQuery example);

    int updateByPrimaryKeySelective(UserTravel record);

    int updateByPrimaryKeyWithBLOBs(UserTravel record);

    int updateByPrimaryKey(UserTravel record);

    UserTravelDTO selectUserTravel(String userTravelId);
}